package com.tidc.seaservermodel.config;

/**
 * @author ：冯涛滔
 * @date ：Created in 2020/10/23 23:07
 * @description：
 * @modified By：
 * @version:
 */
public class RabbitConstants {
    public static final Integer DELIVERING = 0;//消息投递中
    public static final Integer SUCCESS = 1;//消息投递成功
    public static final Integer FAILURE = 2;//消息投递失败
    public static final Integer MAX_TRY_COUNT = 5;//最大重试次数
    public static final Integer MSG_TIMEOUT = 1;//消息超时时间
    //    email
    public static final String EMAIl_EXCHANGE_NAME = "sea.mail.exchange";
    public static final String SEND_EMAIl_QUEUE_NAME = "sea.send.mail.queue";
    public static final String SEND_EMAIl_ROUTING_KEY_NAME = "sea.send.mail.routing.key";

    //    Experience
    public static final String EXPERIENCE_EXCHANGE_NAME = "sea.experience.exchange";
    public static final String ADD_EXPERIENCE_QUEUE_NAME = "sea.add.experience.queue";
    public static final String ADD_EXPERIENCE_ROUTING_KEY_NAME = "sea.add.experience.routing.key";
    public static final String PUNISHMENT_EXPERIENCE_QUEUE_NAME = "sea.punishment.experience.queue";
    public static final String PUNISHMENT_EXPERIENCE_ROUTING_KEY_NAME = "sea.punishment.experience.routing.key";


    public static final String CHECK_EXCHANGE_NAME = "sea.check.exchange";
//    clearRabbit
    public static final String CHECK_CLEAR_RABBIT_QUEUE_NAME = "sea.check.clear.rabbit.queue";
    public static final String CHECK_CLEAR_RABBIT_ROUTING_KEY_NAME = "sea.check.clear.rabbit.routing.key";
//    commitmentOut
    public static final String CHECK_COMMITMENT_OUT_QUEUE_NAME = "sea.check.commitment.out.queue";
    public static final String CHECK_COMMITMENT_OUT_ROUTING_KEY_NAME = "sea.check.commitment.out.routing.key";
//    taskOut
    public static final String CHECK_TASK_OUT_QUEUE_NAME = "sea.check.task.out.queue";
    public static final String CHECK_TASK_OUT_ROUTING_KEY_NAME = "sea.check.task.out.routing.key";



}
